package com.wh.semaphore;

public class TestSynchroized {

	public static void main(String[] args) {
		
		final TestObj testObj = new TestObj();
		Thread thread = new Thread(new Runnable() {
			
			@Override
			public void run() {
				testObj.add();
			}
		});
		thread.start();
	}
}
